package com.ayu.commentbackend.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "comment.backend.jwt")
public class JwtProperties {
    /**
     * 配置属性类，映射来自application.yml的属性值
     */
    private String userSecretKey;
    private long userTtl;
    private String userTokenName;

}
